home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / shared.dir / 00705.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  606 b   |  18 lines

  1. on openNotes
  2.   global gNotesWindow
  3.   if objectp(gNotesWindow) then
  4.     alert("Notes is already open!")
  5.   else
  6.     set horzOrigin to the stageLeft + 50
  7.     set vertOrigin to the stageTop + 40
  8.     set myNotesWindowRect to rect(horzOrigin, vertOrigin, horzOrigin + 320, vertOrigin + 200)
  9.     set gNotesWindow to window "notesMovie"
  10.     set the rect of gNotesWindow to myNotesWindowRect
  11.     set the fileName of gNotesWindow to "notes.dir"
  12.     set the windowType of gNotesWindow to 4
  13.     set the titleVisible of gNotesWindow to 1
  14.     set the title of gNotesWindow to "Notes"
  15.     open(gNotesWindow)
  16.   end if
  17. end
  18.